# -*- coding: utf-8 -*-
# Auther : 风雪
# Date : 2023/12/7 19:58
# File : settings.py

import os

BAES_PATH = os.path.abspath(os.path.dirname(__file__))

# AES_KEY = 'mM7U7Ua1GOMHF9PR'  # aes秘钥,要求16位，参数2加密，和响应解密需要。可以随机生成

# RSA的公钥 ，参数1加密需要
RSA_PU_KEY: str = 'MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMaygujL3yn3jc6eOmMkdGFM6TyHZ+7Wmk7M7PJykR2a+cMHmUxz/Saa8KQ0dtHr+YMPwU5E1vqsxcXG2WQsjUX6f2OW1eaUGv3j6oo1SW3VRA77xa9vUfTw7Ux9irRmnhR7M+KkediqqkP1pYsoaHCVK5NyYlqo+BvsNUO0SN2QIDAQAB'

"""mysql配置"""
# MYSQL地址
MYSQL_HOST = '127.0.0.1'
# MYSQL端口
MYSQL_PORT = 3306
MYSQ_USER = 'root'
MYSQ_PASSWORD = '123456'
MYSQ_database = "f6car"
MYSQ_charset = "utf8mb4"

"""mongo配置"""
# MONGO 地址
MONGO_HOST = '47.97.123.68'
# MONGO端口
MONGO_PORT = 27017
MONGO_USER = 'root'
MONGO_PASSWORD = 'NTLaWzCRfehCcwXA'
MONGO_DATABASE = "test"
MONGO_TABLE = "f6car_set"
# "mongodb://root:NTLaWzCRfehCcwXA@47.97.123.68:27017/test"
# mongo --host 47.97.123.68 --port 27017 --username root --password NTLaWzCRfehCcwXA --f6car_set test

# """mongo配置"""
# # MONGO 地址
# MONGO_HOST = '127.0.0.1'
# # MONGO端口
# MONGO_PORT = 27017
# MONGO_USER = None
# MONGO_PASSWORD = None
# MONGO_DATABASE = "f6car"
# MONGO_TABLE = "f6car_set"

if __name__ == '__main__':
    print(BAES_PATH)
